package cn.kw0501.tms.utils;

import java.util.Map;

/**
 * 名称
 *
 * @Description :
 * @Author : pq
 * @Date: 2022/8/12 19:48
 */
public class ParmUtil {
    public static String checkParms(String[] keys, Map<String,Object> parMap){
        if(parMap==null||parMap.isEmpty()){
            return "参数";
        }
        for (int i=0;i<keys.length;i++){
            if(parMap.get(keys[i])==null||parMap.get(keys[i]).equals("")){
                return keys[i];
            }
        }
        return null;
    }
}
